package com.bbs.common.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import java.io.Serializable;

/**
 * @Description  
 * @Author  linmengmeng
 * @Date 2020-11-09 11:34:57 
 */

@Entity
@Table ( name ="commecnts_type" , schema = "")
public class CommecntsType  implements Serializable {

	private static final long serialVersionUID =  8381264976631119828L;

	@Id
   	@Column(name = "id" )
	private Long id;

   	@Column(name = "comment_type" )
	private String commentType;

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCommentType() {
		return this.commentType;
	}

	public void setCommentType(String commentType) {
		this.commentType = commentType;
	}

	@Override
	public String toString() {
		return "{" +
					"id='" + id + '\'' +
					"commentType='" + commentType + '\'' +
				'}';
	}

}
